package com.zlll.winner.mapper.lhtUser;

import com.zlll.winner.business.model.lhtUser.LhtUserIntegralDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户积分明细表
 Mapper 接口
 * </p>
 *
 * @author qsx
 * @since 2019-09-30
 */
public interface LhtUserIntegralDetailMapper extends BaseMapper<LhtUserIntegralDetail> {

    /**
     *  今日任务
     * @param userId
     * @param taskId
     * @return
     */
    List<Map<String,Object>> getTodayDailyTasksList(@Param("userId") Long userId,@Param("taskId")Long taskId);

    /**
     * 本日观看记录
     * @param userId
     * @return
     */
    List<Map<String,Object>> getTodayWatchTasksList(@Param("userId") Long userId);
}
